package com.wash.shoes.request;

import javax.validation.constraints.NotNull;


import com.ruoyi.common.core.domain.model.BasePageModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class FactoryShelvesGridQueryRequest extends BasePageModel {
    @ApiModelProperty(value = "货架ID")
    @NotNull(message = "货架id不能为空")
    private String id;
    @ApiModelProperty(value = "关键字,订单号")
    private String orderNo;
    @ApiModelProperty(value = "客户电话")
    private String phone;

    public int getLastNum() {
    	return getPageSize() *  (getPageNo()-1);
    }
}